/**
 * 可视化组件
 */

import PictureBox from '../../components/dashboard/visual-comp/PictureBox.vue';
import AudioPlayer from '../../components/dashboard/visual-comp/AudioPlayer';
import VideoPlayer from '../../components/dashboard/visual-comp/VideoPlayer';
import TextInput from '../../components/dashboard/visual-comp/TextInput.vue';
import PieChart from '../../components/dashboard/visual-comp/PieChart.vue';

export const visualComponents = {
  hvPictureBox: PictureBox,
  hvVideoPlayer: VideoPlayer,
  hvAudioPlayer: AudioPlayer,
  hvTextInput: TextInput,
  hvPieChart: PieChart,
};

/**
 * 可视化组件属性
 */
import PictureBoxProperty from '../../components/dashboard/visual-comp-prop/PictureBoxProperty.vue';
import GroupProperty from '../../components/dashboard/visual-comp-prop/GroupProperty.vue';
import PieChartProperty from '../../components/dashboard/visual-comp-prop/PieChartProperty.vue';
import AudioPlayerProperty from '../../components/dashboard/visual-comp-prop/AudioPlayerProperty.vue';
import VideoPlayerProperty from '../../components/dashboard/visual-comp-prop/VideoPlayerProperty.vue';
import TextInputProperty from '../../components/dashboard/visual-comp-prop/TextInputProperty.vue';

export const visualPropertyComponents = {
  hvGroupProperty: GroupProperty,
  hvPictureBoxProperty: PictureBoxProperty,
  hvAudioPlayerProperty: AudioPlayerProperty,
  hvVideoPlayerProperty: VideoPlayerProperty,
  hvTextInputProperty: TextInputProperty,
  hvPieChartProperty: PieChartProperty,
};

/**
 * 可视化样式生成器
 */

import GroupStyleGenerator from '../../components/dashboard/visual-comp-style/group-style-generator';
import CommonStyleGenerator from '../../components/dashboard/visual-comp-style/common-generator';

export const visualStyleGenerator = {
  hvGroupStyleGenerator: GroupStyleGenerator,
  hvCommonStyleGenerator: CommonStyleGenerator,
};
